<?php 
$I = new AcceptanceTester\CRMOperatorSteps($scenario);
$I->wantTo('add two different customers to database');

$I->amInAddCustomerUi();
$firstCustomer = $I->imagineCustomer();
$I->fillCustomerDataForm($firstCustomer);
$I->submitCustomerDataForm();

$I->seeIAmInListCustomersUi();

$I->amInAddCustomerUi();
$secondCustomer = $I->imagineCustomer();
$I->fillCustomerDataForm($secondCustomer);
$I->submitCustomerDataForm();

$I->seeIAmInListCustomersUi();

$I = new \AcceptanceTester\CRMUserSteps($scenario);
$I->wantTo('query the customer info using his phone number');

$I->amInQueryCustomerUi();
$I->fillInPhoneFieldWithDataForm($firstCustomer);
$I->clickSearchButton();

$I->seeIAmInListCustomersUi();
$I->seeCustomerInList($firstCustomer);
$I->dontSeeCustomerInList($secondCustomer);